package com.tinyseed.emcp.api.app.config;

import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Order(Ordered.HIGHEST_PRECEDENCE)

public @interface TargetDataSource {

    DataSourceKey value() default DataSourceKey.EMCP;
}
